// Mock data for testing the metaverse without backend

// Sample car data
export const mockCars = [
  {
    car_id: 1,
    dealer_id: 1,
    car_num: "CAR001",
    title: "Luxury Sedan",
    brand: "Audi",
    model: "A4",
    guide_price: 45000.00,
    selling_price: 42500.00,
    license_date: "2022-05-15",
    produce_time: "2022-01-10",
    car_type: "燃油车",
    mileage: 15000,
    color: "Black",
    transmission: "Automatic",
    fuel_type: "Gasoline",
    engine_size: "2.0L",
    condition_level: 5,
    description: "Well maintained luxury sedan with premium features. Includes leather seats, panoramic roof, and premium sound system.",
    features: "Navigation, Bluetooth, Heated Seats, Backup Camera",
    status: "0",
    views: 120
  },
  {
    car_id: 2,
    dealer_id: 1,
    car_num: "CAR002",
    title: "Family SUV",
    brand: "Toyota",
    model: "RAV4",
    guide_price: 32000.00,
    selling_price: 30500.00,
    license_date: "2021-08-20",
    produce_time: "2021-04-05",
    car_type: "Hybrid",
    mileage: 25000,
    color: "White",
    transmission: "Automatic",
    fuel_type: "Hybrid",
    engine_size: "2.5L",
    condition_level: 4,
    description: "Spacious family SUV with excellent fuel efficiency. Perfect for daily commuting and weekend getaways.",
    features: "Apple CarPlay, Android Auto, Lane Departure Warning, Cruise Control",
    status: "0",
    views: 85
  },
  {
    car_id: 3,
    dealer_id: 2,
    car_num: "CAR003",
    title: "Sports Car",
    brand: "Porsche",
    model: "911",
    guide_price: 120000.00,
    selling_price: 115000.00,
    license_date: "2020-11-10",
    produce_time: "2020-08-15",
    car_type: "燃油车",
    mileage: 10000,
    color: "Red",
    transmission: "Manual",
    fuel_type: "Gasoline",
    engine_size: "3.0L",
    condition_level: 5,
    description: "Iconic sports car in excellent condition. Powerful engine and responsive handling make this a thrilling driving experience.",
    features: "Sport mode, Leather seats, Premium sound system, Performance tires",
    status: "0",
    views: 200
  },
  {
    car_id: 4,
    dealer_id: 2,
    car_num: "CAR004",
    title: "Electric Sedan",
    brand: "Tesla",
    model: "Model 3",
    guide_price: 55000.00,
    selling_price: 52000.00,
    license_date: "2023-01-15",
    produce_time: "2022-11-20",
    car_type: "Electric",
    mileage: 5000,
    color: "Blue",
    transmission: "Automatic",
    fuel_type: "Electric",
    engine_size: "N/A",
    condition_level: 5,
    description: "High-tech electric sedan with autopilot features and impressive range. Nearly new condition with full warranty.",
    features: "Autopilot, Glass roof, Minimalist interior, Fast charging capability",
    status: "0",
    views: 150
  },
  {
    car_id: 5,
    dealer_id: 1,
    car_num: "CAR005",
    title: "Compact Hatchback",
    brand: "Honda",
    model: "Fit",
    guide_price: 22000.00,
    selling_price: 20500.00,
    license_date: "2021-06-10",
    produce_time: "2021-03-15",
    car_type: "燃油车",
    mileage: 30000,
    color: "Silver",
    transmission: "Automatic",
    fuel_type: "Gasoline",
    engine_size: "1.5L",
    condition_level: 4,
    description: "Practical and fuel-efficient hatchback, perfect for city driving with surprisingly spacious interior and great cargo capacity.",
    features: "Backup camera, Bluetooth, Folding rear seats, USB ports",
    status: "0",
    views: 70
  }
];

// Sample dealer data
export const mockDealers = [
  {
    dealer_id: 1,
    user_id: 1,
    dealer_name: "Premium Auto Group",
    address: "123 Main Street, Metropolis",
    business_license: "BL123456",
    contact_person: "John Smith",
    contact_phone: "555-123-4567",
    logo: "dealer1_logo.png",
    description: "Premium Auto Group specializes in luxury and high-quality used vehicles. With over 20 years in the business, we pride ourselves on exceptional customer service and carefully selected inventory.",
    rating: 4.8,
    status: "0"
  },
  {
    dealer_id: 2,
    user_id: 2,
    dealer_name: "City Motors",
    address: "456 Oak Avenue, Metropolis",
    business_license: "BL789012",
    contact_person: "Sarah Johnson",
    contact_phone: "555-987-6543",
    logo: "dealer2_logo.png",
    description: "City Motors offers a wide selection of affordable used cars with flexible financing options. Family owned and operated since 1995.",
    rating: 4.5,
    status: "0"
  }
];

// Sample user data
export const mockUsers = [
  {
    id: 1,
    username: "user1",
    token: "mock-token-1"
  },
  {
    id: 2,
    username: "user2",
    token: "mock-token-2"
  }
];

// Sample chat messages
export const mockChatMessages = [
  {
    senderId: 1,
    senderName: "user1",
    message: "Hello, I'm interested in the Audi A4. Is it still available?",
    dealerId: 1,
    timestamp: "2023-06-10T10:15:30Z"
  },
  {
    senderId: 1001, // Dealer ID
    senderName: "Premium Auto Group",
    message: "Yes, it's available! Would you like to schedule a test drive?",
    dealerId: 1,
    timestamp: "2023-06-10T10:18:45Z"
  },
  {
    senderId: 1,
    senderName: "user1",
    message: "That would be great. Is tomorrow at 2pm possible?",
    dealerId: 1,
    timestamp: "2023-06-10T10:20:12Z"
  }
]; 